package com.cms.admin.mapper;

import com.cms.admin.model.RateScalesPatient;
import com.cms.admin.model.RateScalesPatientExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RateScalesPatientMapper {
    long countByExample(RateScalesPatientExample example);

    int deleteByExample(RateScalesPatientExample example);

    int insert(RateScalesPatient record);

    int insertSelective(RateScalesPatient record);

    List<RateScalesPatient> selectByExample(RateScalesPatientExample example);
    List<RateScalesPatient> selectByUserId(Long userid);


    int updateByExampleSelective(@Param("record") RateScalesPatient record, @Param("example") RateScalesPatientExample example);

    int updateByExample(@Param("record") RateScalesPatient record, @Param("example") RateScalesPatientExample example);
}